/* https://sarink.github.io/react-file-drop/ */

.file-drop {
  /* relatively position the container bc the contents are absolute */
  position: relative;
  height: 400px;
  width: 100%;
  background-color: #424242;
  margin-bottom: 20px;
}

.file-drop > .file-drop-target {
  /* basic styles */
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-radius: 2px;

  /* horizontally and vertically center all content */
  display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;

  flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;

  align-items: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;

  justify-content: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;

  align-content: center;
  -webkit-align-content: center;
  -ms-flex-line-pack: center;

  text-align: center;
}

.file-drop > .file-drop-target.file-drop-dragging-over-frame {
  /* overlay a black mask when dragging over the frame */
  border: none;
  background-color: rgba(255, 255, 255, 0.65);
  box-shadow: none;
  z-index: 50;
  opacity: 0.5;

  /* typography */
  color: white;
}

.file-drop > .file-drop-target.file-drop-dragging-over-target {
  /* turn stuff orange when we are dragging over the target */
  /* color: #ff6e40; */
  /* box-shadow: 0 0 13px 3px #ff6e40; */
}

.file-drop > .file-drop-target > div > p {
  margin: 12px;
}
